import request from '../../common/js/request'

  
// 查询OSS对象存储列表
export function listOss(query) {
    return request({
      url: '/admin-api//infra/oss/page',
      method: 'get',
      params: query
    })
  }
  
  // 删除OSS对象存储
export function delOss(ids) {
    return request({
      url: '/admin-api//infra/oss/delete?ids=' + ids,
      method: 'delete'
    })
  }
  
// 手机号 + 验证码登陆
export function uploadBase64(ImageData) {
  ImageData = ImageData.split(',')[1];
  requestFile({
  	url: '/admin-api/infra/oss/uploadBase64',
  	method: 'post',
  	data: {
  		"ImageData": ImageData,
  	}
  })		
}
